home *** CD-ROM | disk | FTP | other *** search
- Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!usenet
- From: grantp@usa.pipeline.com(Pete Grant)
- Newsgroups: comp.lang.c++
- Subject: Re: dealing without bool type
- Date: 24 Mar 1996 16:02:59 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4j3rnj$hl8@news1.h1.usa.pipeline.com>
- References: <4j25s0$shm@arl-news-svc-3.compuserve.com>
- NNTP-Posting-Host: 38.8.120.9
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete Grant)
- X-Newsreader: Pipeline v3.5.0
-
- On Mar 24, 1996 00:43:44 in article <Re: dealing without bool type>,
- 'Philippe Verdy <100105.3120@compuserve.com>' wrote:
-
-
- >smurman@shellx.best.com (Scott Murman) s'Θcrit :
- >>
- >> I've used g++ for my compiler. I now have Sun's SC4.1 to use, but it
- >> doesn't seem to have bool as a built-in data type. What are some good
- >> ways to deal with this?
- >>
- >You need to add some classes to your RTL include files which
- >will define a compatible environment. Using the bool class
- >defined in Microsoft Visual C++ 4.5 is the simplest solution.
-
- Is this a typo? Or are you in their beta program or somehow
- have special privileges? I just received MSVC++ 4.1 a few days
- ago which, AFAIK is the latest.
-
- bool is a class? What about bool being a reserved keyword
- in the ANSI/ISO standard? Wouldn't that cause a conflict?
-
- --
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-